public class Test2 {
    public static void main(String[] args)
            throws CloneNotSupportedException{
        Thing thing1=new Thing("旺仔");
        Thing thing2=(Thing)thing1.clone();
        thing2.money.value=99.9;
        System.out.println("被拷贝的:"+thing1.name+thing1.money.value);
        System.out.println("拷贝出来的:"+thing2.name+thing2.money.value);

    }
}
